<nav class="navbar navbar-default navbar-static-top" ng-transclude>
  <div class="container-fluid">
    <!-- 导航菜单 -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" ng-click="navbar.isCollapsed = !navbar.isCollapsed">
        <span class="sr-only">导航</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>

      <a class="navbar-brand active" ui-sref="home" ui-sref-opts="{reload: true}"><img alt="网吧钉钉管理系统" class="navbar-brand-logo" src="assets/images/dingding.png"></a>

      <ul class="nav navbar-nav navbar-left">
        <li class="navbar-text">网吧钉钉管理系统</li>
      </ul>

    </div>

    <!--  导航收起 -->
    <div class="navbar-collapse" uib-collapse="navbar.isCollapsed">
      <ul class="nav navbar-nav navbar-right">
        <!--<li><a href="javascript:void(0);">帮助与文档<span class="sr-only">(current)</span></a></li>-->
        <li class="dropdown" uib-dropdown>
          <a id="profile-button" href="javascript:void(0);" class="dropdown-toggle" uib-dropdown-toggle>{{profile.name}} <span class="caret"></span></a>
          <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="profile-button">
            <li role="menuitem"><a href="javascript:void(0);" ng-click="select('profile');">个人中心</a></li>
            <li role="menuitem"><a href="javascript:void(0);" ng-click="select('logout')">退出</a></li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</nav>
